/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Billing.Model
{

    /// <summary>
    ///  orderPriceProtocol
    /// </summary>
    public class OrderPriceProtocol
    {

        ///<summary>
        /// 资源id(新购时不传，升降配、续费必须传)
        ///</summary>
        public string ResourceId{ get; set; }
        ///<summary>
        /// 业务线
        ///</summary>
        public string AppCode{ get; set; }
        ///<summary>
        /// 产品线(必传)
        ///</summary>
        public string ServiceCode{ get; set; }
        ///<summary>
        /// 站点信息 0：主站  其他：专有云
        ///</summary>
        public int? Site{ get; set; }
        ///<summary>
        /// 地域(新购、升降配必传)
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// 计费类型 1:按配置 2:按用量 3:包年包月(必传) 4:按次计费
        ///</summary>
        public int? BillingType{ get; set; }
        ///<summary>
        /// 时长(包年包月新购、续费必传)
        ///</summary>
        public int? TimeSpan{ get; set; }
        ///<summary>
        /// 时长类型 0:无(非包年包月) 1:小时 2:天 3:月 4:年(包年包月新购、续费必传)
        ///</summary>
        public int? TimeUnit{ get; set; }
        ///<summary>
        /// 网络类型 0:non 1:非BGP  2:BGP
        ///</summary>
        public int? NetworkOperator{ get; set; }
        ///<summary>
        /// 计算公式（配置细项）(新购、升降配必传)
        ///</summary>
        public List<Formula> Formula{ get; set; }
        ///<summary>
        /// 配置细项
        ///</summary>
        public string FormulaStr{ get; set; }
        ///<summary>
        /// 用户pin
        ///</summary>
        public string Pin{ get; set; }
        ///<summary>
        /// 具体商品数量，默认为1
        ///</summary>
        public int? Count{ get; set; }
        ///<summary>
        /// 订单开始时间
        ///</summary>
        public string StartTime{ get; set; }
        ///<summary>
        /// 临时升配结束时间,临时升配时必传
        ///</summary>
        public string EndTime{ get; set; }
        ///<summary>
        /// 自然单列表
        ///</summary>
        public string TaskId{ get; set; }
        ///<summary>
        /// 交易单模块sourceId
        ///</summary>
        public string SourceId{ get; set; }
    }
}
